package com.zsx.shopping.seckill.constant;

public class SeckillConstant {

    public static final String UPLOAD_LOCK = "seckill:upload:lock";

    public static final String SECKILL_SESSIONS_PREFIX = "seckill:session:";     // + startTime_endTime

    public static final String SECKILL_SKU = "seckill:sku";                     // key:sessionId_skuId

    public static final String SKU_STOCK_SEMAPHORE_PREFIX = "seckill:stock:";   // + token

    public static final String SECKILL_STATUS_PREFIX = "seckill:status:";       // + userId_sessionId_skuId
}
